package com.tangyuan.video.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tangyuan.common.result.Result;
import com.tangyuan.dto.VideoCommentDto;
import com.tangyuan.dto.VideoPublisherDto;
import com.tangyuan.model.VideoComment;


public interface VideoCommentService extends IService<VideoComment> {
    Result saveVideoComment(VideoCommentDto videoCommentDto,String token);

    Result saveReplyComment(VideoCommentDto videoCommentDto,String token);

    Result selectCommentByVideoId(Long videoId, Integer pageSize, Integer pageNum,Long userId);

    Result selectReplayCommentByCommentId(Long videoId, Integer pageSize, Integer pageNum);

    Result addCommentThumpById(Long id,Long userId);

    Result removeCommentThumpById(Long commentId,Long userId);

    Result disLike(Long commentId,Long userId);

    Result removeDisLike(Long commentId, Long userId);

    void updateVideoCommentMessage(VideoPublisherDto videoPublisherDto);
}
